#ifndef SCENE_H
#define SCENE_H

#include <QSoundEffect>
#include <QMainWindow>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QTimer>
#include <QMediaPlayer>

#include "shop.h"
#include "claw.h"
#include "caronetwo.h"
#include "carbubu.h"
#include "cockhorsebubu.h"
#include "basketbubu.h"
#include "bikebubu.h"
#include "base_bubu.h"

class Scene : public QMainWindow
{
    Q_OBJECT
public:
    explicit Scene(QWidget *parent = nullptr);
    ~Scene() override;

    void addBubu();
    void check();

    QMediaPlayer *player = nullptr;
    QAudioOutput *audioOutput = nullptr;


private:
    QSoundEffect *sound;
    QTimer *timer;
    QGraphicsScene *scene;
    QGraphicsView *view;


};

#endif  //SCENE_H
